package view

var header string = `{{define "header"}}<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <!-- Meta, title, CSS, favicons, etc. -->
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">

	<title>{{.title}}</title>

	<!-- Bootstrap core CSS -->
	<link href="/static/css/bootstrap.min.css" rel="stylesheet">
	<link href="/static/css/patch.css" rel="stylesheet">

	<!-- Custom styles for this template -->
    <link href="/static/css/navbar-static-top.css" rel="stylesheet">

	<!-- Documentation extras -->
	<link href="/static/css/docs.min.css" rel="stylesheet">
	{{noescape "<!--[if lt IE 9]>"}}
	<script src="/static/js/ie8-responsive-file-warning.js"></script>
	{{noescape "<![endif]-->"}}
	<script src="/static/js/ie-emulation-modes-warning.js"></script>

	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->	
	{{noescape "<!--[if lt IE 9]>"}}
	  <script src="/static/js/html5shiv.min.js"></script>
	  <script src="/static/js/respond.min.js"></script>	
	{{noescape "<![endif]-->"}}

	<!-- Favicons -->	
	<link rel="icon" href="/static/favicon.ico">

	<script src="/static/js/jquery.min.js"></script>
	<script src="/static/js/bootstrap.min.js"></script>

 </head>
<body>
{{template "navbar" .}}
<div class="container bs-docs-container">

    <div class="row">
{{end}}`

var footer string = `{{define "footer"}}
</div>
	<footer class="bs-docs-footer" role="contentinfo">
	  <div class="container">    
	    <p>Powered by <a href="http://www.sysdvod.cn" target="_blank">视友时代</a></p>
	  </div>
	</footer>
</div>	
<!-- Bootstrap core JavaScript
    ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->

</body><html>
{{end}}`

var index string = `{{define "index"}}
<h1>welcome ktv</h1>
{{end}}`

var allTemplates = []string{
	header,
	footer,
	index,
	login,
	online,
	onlineContent,
	detail,
	navbar,
	profile,
	ddns,
	status,
}

func GetTemplates() []string {
	return allTemplates
}
